"""
Test write file
"""
def writeFile(filename, data):
    print("writeFile start ---- ")
    file = open(filename, "w")
    file.write(data)
    return

def main():
    print __doc__
    writeFile("a.txt", "line1 \n")
    return 

if(__name__ == "__main__"):
    main()
